import request from '@/utils/request'

export function cardClassificationList(query) {
  return request({
    url: '/giftcardClassification/list',
    method: 'get',
    params: query
  })
}

export function cardClassificationCreate(data) {
  return request({
    url: '/giftcardClassification/create',
    method: 'post',
    data
  })
}

export function cardClassificationUpdate(data) {
  return request({
    url: '/giftcardClassification/update',
    method: 'put',
    data
  })
}

export function cardClassificationDelete(query) {
  return request({
    url: '/giftcardClassification/delete',
    method: 'delete',
    params: query
  })
}

